package com.zx.mes.hyl.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 华云龙
 * @since 2018-07-02
 */
public class Tmenu extends Model<Tmenu> {

    private static final long serialVersionUID = 1L;

    private String id;
    private String name;
    private String url;
    private String icon;
    private String variant;
    private String text;
    private String pid;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getVariant() {
        return variant;
    }

    public void setVariant(String variant) {
        this.variant = variant;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Tmenu{" +
        "id=" + id +
        ", name=" + name +
        ", url=" + url +
        ", icon=" + icon +
        ", variant=" + variant +
        ", text=" + text +
        ", pid=" + pid +
        "}";
    }
}
